I wanted to know if it would be possible to compile a C Application on Windows without linking to the C Runtime Library. This video is the result of my search. Chapters: 0:00 Intro 1:11 Why remove the CRT? 2:26 The example application 3:25 Replace C function calls 6:57 Removing default linked libs 7:44 Setting a new program entry 9:53 Disabling buffer overrun checks 10:32 Setting the stack size 11:39 Providing memset implementation 14:06 Outro Resources: * MSVC linker command line options: https://learn.microsoft.com/en-us/cpp/build/reference/linker-options?view=msvc-170 * MSVC compiler command line options: https://learn.microsoft.com/en-us/cpp/build/reference/compiler-options-listed-by-category?view=msvc-170 * Forum post by mmozeiko with lots of useful info: https://hero.handmade.network/forums/code-discussion/t/94-guide_-_how_to_avoid_c_c++_runtime_on_windows * Example app with C Runtime: https://drywa.me/compiling-c-without-runtime/test-with-crt.zip * Example app without C Runtime: https://drywa.me/compiling-c-without-runtime/test-without-crt.zip Music used in this video: * Lawrence - TrackTribe (from the YouTube Audio Library) * Mo Anando - Oase https://chll.to/3cb311fb Tools used in this video: * Sublime Text 4 Links: Twitch: https://www.twitch.tv/danicrunch VOD Channel: https://www.youtube.com/@DaniCrunchVOD Twitter/X: https://twitter.com/DaniCrunch #c #windows #coding